const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
  content: String,
  author:String,
  time:Date,
  state:String,
  news:String,
  newsid:String
});
schema.plugin(mongoosePaginate);

module.exports = mongoose.model('Comment', schema);
